<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>Administrador: <%= controller.controller_name() %></title>
  <%= javascript_include_tag :defaults %>
  <%= stylesheet_link_tag "del_dicho_al_hecho"%>
  <%= active_scaffold_includes %>
</head>
<body>
<h2>Tareas</h2>
<p style="color: green"><%= flash[:notice] %></p>

<div id = "colIzquierda">
<%#def select(object, method, choices, options = {}, html_options = {})%>  
<%= select :clientes, :post, 
           Cliente.find(:all).collect {|c| [ c.nombre, c.id ] }, 
           {:include_blank => false}, {:class => "prueba"}
           %>
           <br>  
<%= select :proyectos, :post, 
           Proyecto.find(:all).collect {|c| [ c.nombre, c.id ] }, 
           {:include_blank => false}%>
           <br>
<%= select :presupuestos, :post, 
           Presupuesto.find(:all).collect {|c| [ c.nombre, c.id ] }, 
           {:include_blank => false}%>

</div>

<div id = "colDerecha">
  <% tabnav :main do %>
    <%= yield  %>
  <% end %>
</div>
</body>
</html>
